/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */
import Timeline from './timeline/index.vue'
import Jrhtml from './html/index.vue'
import Qrcode from './qrcode/qrcode.vue'
import signature from './signature/item'
import bigdataupload from './bigdataupload/index'
import calculator from './calculator/calculator'
import caption from './caption/caption'
import step from './step/Steps'
import yuyue from './yuyueform/yuyue'
import tab from './tab/index'
import dftable from './dfTable/index'
import formula from './calculator/formula'
const components = [
  Timeline,
  Jrhtml,
  Qrcode,
  signature,
  bigdataupload,
  calculator,
  formula,
  caption,
  step,
  tab,
  yuyue,
  dftable
]

const CustomFields = {
  install (Vue) {
    if (this.installed) return
    this.installed = true

    components.map(component => {
      Vue.component(component.name, component);
    })
  }
}

export default CustomFields
